//
//  smallScrollView.m
//  UI_随便相册
//
//  Created by dllo on 16/4/9.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "smallScrollView.h"

@implementation smallScrollView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

-(void)dealloc{
    [_myImageView release];
    [super dealloc];
    
}

-(instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    if (self) {
        [self doSomeThing];
    }
    return self;
}

-(void)doSomeThing{
    
    self.myImageView = [[UIImageView alloc]init];
    self.myImageView.frame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);
    [self addSubview:self.myImageView];
    [_myImageView release];
    
}





@end
